package com.primb.bench.project.home.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Chen on 2017/8/4.
 * 功能描述：
 */

public class HttpEnsureMoneyEntity {
    /**
     * success : true
     * msg :
     * data : {"lnFinImpawnAmt":"0","lnAcctRecvAmt":"0","lnPropertyAmt":"0","lnOthMortAmt":"0","highGuaranteeAmt":"0","commonGuaranteeAmt":"0"}
     */

    private boolean success;
    private String msg;
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * lnFinImpawnAmt : 0
         * lnAcctRecvAmt : 0
         * lnPropertyAmt : 0
         * lnOthMortAmt : 0
         * highGuaranteeAmt : 0
         * commonGuaranteeAmt : 0
         */

        private String lnFinImpawnAmt;
        private String lnAcctRecvAmt;
        private String lnPropertyAmt;
        private String lnOthMortAmt;
        private String highGuaranteeAmt;
        private String commonGuaranteeAmt;

        public String getLnFinImpawnAmt() {
            return lnFinImpawnAmt;
        }

        public void setLnFinImpawnAmt(String lnFinImpawnAmt) {
            this.lnFinImpawnAmt = lnFinImpawnAmt;
        }

        public String getLnAcctRecvAmt() {
            return lnAcctRecvAmt;
        }

        public void setLnAcctRecvAmt(String lnAcctRecvAmt) {
            this.lnAcctRecvAmt = lnAcctRecvAmt;
        }

        public String getLnPropertyAmt() {
            return lnPropertyAmt;
        }

        public void setLnPropertyAmt(String lnPropertyAmt) {
            this.lnPropertyAmt = lnPropertyAmt;
        }

        public String getLnOthMortAmt() {
            return lnOthMortAmt;
        }

        public void setLnOthMortAmt(String lnOthMortAmt) {
            this.lnOthMortAmt = lnOthMortAmt;
        }

        public String getHighGuaranteeAmt() {
            return highGuaranteeAmt;
        }

        public void setHighGuaranteeAmt(String highGuaranteeAmt) {
            this.highGuaranteeAmt = highGuaranteeAmt;
        }

        public String getCommonGuaranteeAmt() {
            return commonGuaranteeAmt;
        }

        public void setCommonGuaranteeAmt(String commonGuaranteeAmt) {
            this.commonGuaranteeAmt = commonGuaranteeAmt;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.lnFinImpawnAmt);
            dest.writeString(this.lnAcctRecvAmt);
            dest.writeString(this.lnPropertyAmt);
            dest.writeString(this.lnOthMortAmt);
            dest.writeString(this.highGuaranteeAmt);
            dest.writeString(this.commonGuaranteeAmt);
        }

        public DataBean() {
        }

        protected DataBean(Parcel in) {
            this.lnFinImpawnAmt = in.readString();
            this.lnAcctRecvAmt = in.readString();
            this.lnPropertyAmt = in.readString();
            this.lnOthMortAmt = in.readString();
            this.highGuaranteeAmt = in.readString();
            this.commonGuaranteeAmt = in.readString();
        }

        public static final Parcelable.Creator<DataBean> CREATOR = new Parcelable.Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel source) {
                return new DataBean(source);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };
    }

    /**
     * success : true
     * msg : [{"lnFinImpawnAmt":"0","lnAcctRecvAmt":"0","lnPropertyAmt":"2588","lnOthMortAmt":"0"}]
     */

//    private boolean success;
//    private String msg;
//    private DataBean dataBean;
//
//    public String getMsg() {
//        return msg;
//    }
//
//    public void setMsg(String msg) {
//        this.msg = msg;
//    }
//
//    public boolean isSuccess() {
//        return success;
//    }
//
//    public void setSuccess(boolean success) {
//        this.success = success;
//    }
//
//    public DataBean getDataBean() {
//        return dataBean;
//    }
//
//    public void setDataBean(DataBean dataBean) {
//        this.dataBean = dataBean;
//    }
//
//    public static class DataBean implements Parcelable {
//        /**
//         * lnFinImpawnAmt : 0    金融质押品金额
//         * lnAcctRecvAmt : 0    应收账款金额
//         * lnPropertyAmt : 2588     商业或居住用房地金额
//         * lnOthMortAmt : 0         其它抵质押品金额
//         * highGuaranteeAmt           优质保证金额
//         * commonGuaranteeAmt    一般保证金额
//         */
//
//        private String lnFinImpawnAmt;
//        private String lnAcctRecvAmt;
//        private String lnPropertyAmt;
//        private String lnOthMortAmt;
//        private String highGuaranteeAmt;
//        private String commonGuaranteeAmt;
//
//        public String getHighGuaranteeAmt() {
//            return highGuaranteeAmt;
//        }
//
//        public void setHighGuaranteeAmt(String highGuaranteeAmt) {
//            this.highGuaranteeAmt = highGuaranteeAmt;
//        }
//
//        public String getCommonGuaranteeAmt() {
//            return commonGuaranteeAmt;
//        }
//
//        public void setCommonGuaranteeAmt(String commonGuaranteeAmt) {
//            this.commonGuaranteeAmt = commonGuaranteeAmt;
//        }
//
//        public String getLnFinImpawnAmt() {
//            return lnFinImpawnAmt;
//        }
//
//        public void setLnFinImpawnAmt(String lnFinImpawnAmt) {
//            this.lnFinImpawnAmt = lnFinImpawnAmt;
//        }
//
//        public String getLnAcctRecvAmt() {
//            return lnAcctRecvAmt;
//        }
//
//        public void setLnAcctRecvAmt(String lnAcctRecvAmt) {
//            this.lnAcctRecvAmt = lnAcctRecvAmt;
//        }
//
//        public String getLnPropertyAmt() {
//            return lnPropertyAmt;
//        }
//
//        public void setLnPropertyAmt(String lnPropertyAmt) {
//            this.lnPropertyAmt = lnPropertyAmt;
//        }
//
//        public String getLnOthMortAmt() {
//            return lnOthMortAmt;
//        }
//
//        public void setLnOthMortAmt(String lnOthMortAmt) {
//            this.lnOthMortAmt = lnOthMortAmt;
//        }
//
//        public DataBean() {
//        }
//
//        @Override
//        public int describeContents() {
//            return 0;
//        }
//
//        @Override
//        public void writeToParcel(Parcel dest, int flags) {
//            dest.writeString(this.lnFinImpawnAmt);
//            dest.writeString(this.lnAcctRecvAmt);
//            dest.writeString(this.lnPropertyAmt);
//            dest.writeString(this.lnOthMortAmt);
//            dest.writeString(this.highGuaranteeAmt);
//            dest.writeString(this.commonGuaranteeAmt);
//        }
//
//        protected DataBean(Parcel in) {
//            this.lnFinImpawnAmt = in.readString();
//            this.lnAcctRecvAmt = in.readString();
//            this.lnPropertyAmt = in.readString();
//            this.lnOthMortAmt = in.readString();
//            this.highGuaranteeAmt = in.readString();
//            this.commonGuaranteeAmt = in.readString();
//        }
//
//        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
//            @Override
//            public DataBean createFromParcel(Parcel source) {
//                return new DataBean(source);
//            }
//
//            @Override
//            public DataBean[] newArray(int size) {
//                return new DataBean[size];
//            }
//        };
//    }
}
